#define _CRT_SECURE_NO_WARNINGS 1
//#include <stdio.h>
//int main()
//{
//	int arr1[] = { 1,2,3,4,5,6,7 };
//	int arr2[] = { 1,2,3,4,8,8,8 };
//	int ret = memcmp(arr1, arr2, 20);
//	printf("%d\n", ret);
//
//	return 0;
//}
#include < stdio.h >
struct stu
{
	int num;
	char name[10];
	int age;
};

void fun(struct stu* p)
{
	printf("%s\n", (*p).name);
	return;
}

int main()
{
	struct stu students[3] = { {9801,"zhang",20},
							 {9802,"wang",19},
					{9803,"zhao",18} };
	fun(students + 1);
	return 0;
}